let oE = document.querySelectorAll(".e")
console.log(oE);
let oE1 = document.querySelector('.e1')
console.log(oE1);


// 轮播图
var swiper = new Swiper('.swiper-container', {
    spaceBetween: 30,
    effect: 'fade',
    loop: true,
    autoplay: {
        delay: 400,
        disableOnInteraction: false,
    },
});


// 返回顶部
var timer
box.onclick = function () {
    clearInterval(timer)
    timer = setInterval(function () {
        document.documentElement.scrollTop -= 10

        if (document.documentElement.scrollTop === 0) {
            clearInterval(timer)
        }
    }, 200)
}